package com.jason.kotlin.meta.architecture2.model

/**
 * 玩Android-用户信息数据
 *
"admin": false,
"chapterTops": [],
"coinCount": 0,
"collectIds": [],
"email": "",
"icon": "",
"id": 91815,
"nickname": "jasonkevin8888",
"password": "",
"publicName": "jasonkevin8888",
"token": "",
"type": 0,
"username": "jasonkevin8888"
 */
data class UserBean(
    var admin:Boolean,
    var chapterTops: List<String>,
    var collectIds: MutableList<String>,
    var email: String,
    var icon: String,
    var id: String,
    var nickname: String,
    var password: String,
    var token: String,
    var type: Int,
    var username: String
){
    override fun toString(): String {
        return "UserBean(admin=$admin, chapterTops=$chapterTops, collectIds=$collectIds, email='$email', icon='$icon', id='$id', nickname='$nickname', password='$password', token='$token', type=$type, username='$username')"
    }
}